]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st: Adjust to ClutterBinAlignment removal
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 9 Nov 2023 23:08:24 +0000 (00:08 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 9 Nov 2023 23:29:50 +0000 (00:29 +0100)
The custom alignment property was removed, so the convenience
constructor lost the corresponding parameters.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3013>

src/st/st-icon.c

index aed688e07d8c64d4877c3f6a77d1ef301c60e53b..6a32df5b38e5ef4a1ad4264cc437e2b0cbf0dfd5 100644 (file)
@@ -360,8 +360,7 @@ st_icon_init (StIcon *self)
 
   self->priv = st_icon_get_instance_private (self);
 
-  layout_manager = clutter_bin_layout_new (CLUTTER_BIN_ALIGNMENT_FILL,
-                                           CLUTTER_BIN_ALIGNMENT_FILL);
+  layout_manager = clutter_bin_layout_new ();
   clutter_actor_set_layout_manager (CLUTTER_ACTOR (self), layout_manager);
 
   /* Set the icon size to -1 here to make sure we apply the scale to the